package com.xxx.rpc.common.xml;

import java.util.List;

import com.xxx.rpc.common.xml.tems.Application;
import com.xxx.rpc.common.xml.tems.Protocol;
import com.xxx.rpc.common.xml.tems.Reference;
import com.xxx.rpc.common.xml.tems.Registry;
import com.xxx.rpc.common.xml.tems.Service;

public class Dubbo {

	private Application application;
	private Registry registry;
	private Protocol protocol;
	private List<Service> serviceList;
	
	private List<Reference> referenceList;
	public Application getApplication() {
		return application;
	}
	public void setApplication(Application application) {
		this.application = application;
	}
	public Registry getRegistry() {
		return registry;
	}
	public void setRegistry(Registry registry) {
		this.registry = registry;
	}
	public Protocol getProtocol() {
		return protocol;
	}
	public void setProtocol(Protocol protocol) {
		this.protocol = protocol;
	}
	public List<Service> getServiceList() {
		return serviceList;
	}
	public void setServiceList(List<Service> serviceList) {
		this.serviceList = serviceList;
	}
	public List<Reference> getReferenceList() {
		return referenceList;
	}
	public void setReferenceList(List<Reference> referenceList) {
		this.referenceList = referenceList;
	}
	@Override
	public String toString() {
		return "Dubbo [application=" + application + ", registry=" + registry + ", protocol=" + protocol
				+ ", serviceList=" + serviceList + ", referenceList=" + referenceList + "]";
	}
}
